<?php


/*swoole_async_readfile(__DIR__."/test", function($filename, $content) {
    echo "$filename: $content";
});

echo '异步操作';*/

$size=1024*1024*10;
swoole\Async::read('/www/swoole/Swoole.mp4',function ($name,$content){
         var_dump($content);
},$size);